package com.example.s07_restful_swagger.service;

import com.example.s07_restful_swagger.pojo.Message;

import java.util.List;

public interface IMessageService {


    public void save(Message m);

    public boolean removeById(Long id);

    public void updateById(Message m);

    public Message findById(Long id);

    public List<Message> findAll();
}

